WebSpellChecker provides a method to implement spell checker with WebDialogBox.
In this topic, you will learn how to implement spell checker.
To implement spell checker with WebDialogBox
- Create a div and HTML button.
- Drag WebSpellChecker control to WebForm.
- Set WebSpellChecker's TargetControlId property to the DIV's id.
- Set the DIV's text/value property. Since the content of DIV is stored in innerHTML property, then set TargetControlIdValue property to innerHTML for WebSpellChecker to be able to function properly.
- Create a function called AddSpellChecker() and use CheckSpell() method to implement spell checker.
JavaScript
Copy Codefunction CheckSpell() { var sp = ISGetObject("WebSpellChecker1"); sp.CheckSpell(); }
- Invoke AddSpellChecker() from the HTML button.

Tasks
{How-to: Implement spell checker with red wave highlight}
Other Resources
{User Interface}